<?php
/**
 * index.phtml
 * 
 * @category    Madoqua
 * @package     Module
 * @subpackage  BlogAdmin
 */

$this->headScript()->appendFile($this->adminFile('js/application/post-index.js'));

$this->adminNavigation('post', 'index');

?>
<div class="cols">
    <div class="col1">
        <h2>Write a new Post</h2>
        <p>
            Feeling creative? Go for it, <a href="<?php echo $this->url(array('controller' => 'post', 'action' => 'create'), 'blog_admin', true); ?>">write</a> a new post;
        </p>
        
        <h2>Recent Posts</h2>
        <p>
            What have you written so far? Maybe you should write some more, or SpotSec will get you.
        </p>
        <?php echo $this->action('table', 'post', 'blogAdmin'); ?>
    </div>
    <div class="col2">
        <?php echo $this->action('search', 'post', 'blogAdmin'); ?>
    </div>
</div>    